import './assets/normalize.css';
import './assets/main.css';
import pinia from "./stores";
import { createApp } from 'vue';
import myBreadcrumb from "./components/my-breadcrumb";
import App from './App.vue';
import router from './router';
import myMessageBox from './components/my-message-box';
const app = createApp(App);
//全局属性绑定消息框功能方法
app.config.globalProperties.$myMessageBox = myMessageBox;
//全局属性绑定返回方法
app.config.globalProperties.$goBack = function(){
    this.$router.go(-1);
}
app.use(myBreadcrumb);
app.use(pinia);
app.use(router);
app.mount('#app');
